package com.yuyou.fn.activity.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * Created by lzh on 2019/5/23.
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class ActivityInventorySaveOrUpdateVo {

    @ApiModelProperty("唯一标识")
    private Long activityInventorySettingId;

    @NotNull
    private Long areaTeamId;

    /** 库存类别, 0地推，1到店物料、2报读礼品、3旧带新礼品、4门店展示 */
    @ApiModelProperty("库存类别, 0地推，1到店物料、2报读礼品、3旧带新礼品、4门店展示")
    @NotNull
    private Integer type;

    /** 物料名称 */
    @ApiModelProperty("物料名称")
    @NotEmpty
    private String materialName;

    /** 单价 */
    @ApiModelProperty("单价")
    @NotNull
    private BigDecimal unitPrice;

    /** 用途 */
    @ApiModelProperty("用途")
    @NotEmpty
    private String useMsg;

    @ApiModelProperty("样板图路径")
    private String pictureUrl;

    @ApiModelProperty("上架状态，0 未上架，1上架")
    @NotNull
    private Integer shelvesStatus;

    @ApiModelProperty("关联活动传id，无关联不用")
    private Long activityId;

    @ApiModelProperty("关联的期数id，多个以逗号隔开")
    private String periodIds;
    public Long getActivityInventorySettingId() {
        return activityInventorySettingId;
    }

    public void setActivityInventorySettingId(Long activityInventorySettingId) {
        this.activityInventorySettingId = activityInventorySettingId;
    }

    public Long getAreaTeamId() {
        return areaTeamId;
    }

    public void setAreaTeamId(Long areaTeamId) {
        this.areaTeamId = areaTeamId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    public String getUseMsg() {
        return useMsg;
    }

    public void setUseMsg(String useMsg) {
        this.useMsg = useMsg;
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    public Integer getShelvesStatus() {
        return shelvesStatus;
    }

    public void setShelvesStatus(Integer shelvesStatus) {
        this.shelvesStatus = shelvesStatus;
    }

    public Long getActivityId() {
        return activityId;
    }

    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    public String getPeriodIds() {
        return periodIds;
    }

    public void setPeriodIds(String periodIds) {
        this.periodIds = periodIds;
    }
}
